package Adapter.java;

class TranslatorA implements Translator {
    private AlternatingCurrent ac;

    public TranslatorA(AlternatingCurrent a) {
        this.ac = a;
    }

    public String translate() {
        String dccurrent = ac.provideCurrent();
        return dccurrent;
    }
}
